<?php

use Illuminate\Database\Seeder;

class SettingTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'type'          =>  'system',
                'name'          =>  '后台名称',
                'key'           =>  'SET_ADMIN_TITLE',
                'value'         =>  'EasyCoder后台',
                'remark'        =>  '后台title',
                'isUse'         =>  1
            ]
        ];

        foreach ($data as $v)
        {
            \App\Models\Setting::create($v);
        }
    }
}
